/*
 * @Descripttion: 
 * @version: 
 * @Author: 
 * @Date: 2022-04-24 09:01:49
 * @LastEditors: weidelong
 * @LastEditTime: 2022-04-27 17:47:27
 */
import request from "../../request.js"

// 用户登录
export function getUserData(params) {
    return request({
        url: '/login',
        method: 'post',
        data: params
    })
}

// 医师登录
export function getDoctorData(params) {
    return request({
        url: '/doctorlogin',
        method: 'post',
        data: params
    })
}

// 获取医师信息
export function getDoctorInfo(paramater) {
    return request({
        url: '/selectDoctorInfo',
        method: 'get',
        params: paramater
    })
}

// 更改医师 在线/离线 状态
export function changeState(params) {
    return request({
        url: '/changeDoctorState',
        method: 'post',
        data: params
    })
}